project "gtest"
	location "gtestProj"
	kind "StaticLib"
	language "C++"
	cppdialect "C++20"
	staticruntime "on"

	targetdir ("Product/gtest")	-- 输出目录
	objdir ("Bin/gtest")		-- 文件输出目录

	files
	{
		"googletest/include/gtest/*.h",
		"googletest/include/gtest/internal/*.h",
		"googletest/include/gtest/internal/custom/*.h",

		"googletest/src/*.cc",
	}

		includedirs
	{
		"./",
		"googletest",
		"googletest/include",
	}

	filter "system:windows"
		systemversion "latest"

	filter "configurations:Debug"
		defines "_DEBUG"
		buildoptions "/MDd"
		symbols "on"

	filter "configurations:Release"
		defines "_RELEASE"
		buildoptions "/MD"
		optimize "on"